<?php
namespace app\admin\model;

use think\Model;

class allproducts extends Model
{

   protected $connection = 'mysql://root:1234@127.0.0.1:3306/thinkphp#utf8';

}